package com.mk.admin.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("管理员")
public class AdminVo {
    private Integer id;
    @ApiModelProperty("账号 不能修改")
    private String username;
    @ApiModelProperty("昵称")
    private String nickName;
    @ApiModelProperty("性别")
    private String sex;
    @ApiModelProperty("电话")
    private String phone;
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("头像地址")
    private String headPath;
    @ApiModelProperty("状态 1启用 0 停用")
    private Integer status;
    @ApiModelProperty(value = "创建时间",hidden = true)
    private String createTime;
    @ApiModelProperty(value = "更新时间",hidden = true)
    private String updateTime;
    @ApiModelProperty("排序：orderBy:'id desc,sort asc,name desc'")
    private String orderBy;
    @ApiModelProperty("分页第几页")
    private Integer page;
    @ApiModelProperty("分页每一页显示的条数")
    private Integer size;
}
